package com.ruoyi.common.core.domain.entity;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;


public class WechatUser extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private Long id;

    /**
     * 用户的唯一标识
     */
    @Excel(name = "用户的唯一标识")
    private String openid;

    /**
     * 公众号的唯一标识
     */
    @Excel(name = "公众号的唯一标识")
    private String unionid;

    /**
     * 微信会话秘钥
     */
    private String sessionKey;

    /**
     * 昵称
     */
    @Excel(name = "昵称")
    private String nickname;

    /**
     * 真实姓名
     */
    @Excel(name = "真实姓名")
    private String name;

    /**
     * 手机号码
     */
    @Excel(name = "手机号码")
    private String phonenumber;

    /**
     * 性别，0-未知 1-男性，2-女性
     */
    @Excel(name = "性别，0-未知 1-男性，2-女性")
    private Integer gender;

    /**
     * 地区
     */
    @Excel(name = "地区")
    private String region;

    /**
     * 用户头像URL
     */
    @Excel(name = "用户头像URL")
    private String avatarUrl;

    @Excel(name = "积分")
    private Integer points;

    /**
     * 是否订阅公众号 0-否 1-是
     */
    @Excel(name = "是否订阅公众号 0-否 1-是")
    private Long subscribe;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;
    

    public WechatUser() {
		super();
	}

	public WechatUser(String openid, String sessionKey) {
		super();
		this.openid = openid;
		this.sessionKey = sessionKey;
	}

	public Integer getPoints() {
        return points;
    }

    public void setPoints(Integer points) {
        this.points = points;
    }

    public String getSessionKey() {
        return sessionKey;
    }

    public void setSessionKey(String sessionKey) {
        this.sessionKey = sessionKey;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getUnionid() {
        return unionid;
    }

    public void setUnionid(String unionid) {
        this.unionid = unionid;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public Long getSubscribe() {
        return subscribe;
    }

    public void setSubscribe(Long subscribe) {
        this.subscribe = subscribe;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }

}
